<template>
  <div>
    <el-container :style="{ height: screenHeight }">
      <el-header height="40px">
        <el-button type="info" size="mini" icon="el-icon-arrow-left" @click="returnshow">返回首页</el-button>
        <div class="titleone">巨森金融控股后台管理系统</div></el-header>
      <el-container>
        <el-aside width="200px">
          <main-menu-3></main-menu-3>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import MainMenu3 from "./MainMenu3.vue";
export default {
  components: { MainMenu3 },
  data() {
    return {
      screenHeight: document.documentElement.clientHeight + "px",
    };
  },
  methods: {
    returnshow:function(){
      this.$router.replace('/index');
    }
  },
};
</script>
<style>
.titleone{
  text-align: center;
  float: right;
  width: 60%;
  height: 90%;
  margin-right: 300px;
}
.el-header,
.el-footer {
  background-color: #565d66;
  color: rgb(236, 179, 179);
  text-align: left;
  font-family: 黑体;
  font-size: 20px;
  font-weight: 900;
  line-height: 33px;
  
}

.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 100px;
}

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 50px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}
</style>